﻿namespace Lab2.Classes
{
    public class Customer : SyncObject
    {
        public Customer(IEngine engine) : base(engine)
        {
            Name = "Клиент";
            Queues.Add(new SyncQueue() { Sender = this, Receiver = Engine.Bank });
            Queues.Add(new SyncQueue() { Sender = this, Receiver = Engine.Shop });
        }
    }
}
